package com.freesky.biz.icbc.service;

import com.freesky.biz.icbc.domain.TScanUser;
import com.freesky.common.core.domain.AjaxResult;
import com.freesky.common.core.domain.TreeSelect;
import com.freesky.common.core.domain.entity.TScanChannel;

import java.util.List;

public interface IScanChannelService {

    public List<TScanChannel> selectScanChannelList(TScanChannel scanChannel);

    public List<TreeSelect> selectScanChannelTreeList(TScanChannel scanChannel);

    public TScanChannel selectScanChannelById(Long id);

    public List<TScanChannel> selectChildrenScanChannelById(Long channelId);


    public boolean hasChildByScanChannelId(Long channelId);


    public boolean checkScanChannelExistUser(Long channelId);

    public boolean checkScanChannelNameUnique(TScanChannel scanChannel);

    public int insertScanChannel(TScanChannel scanChannel);

    public int updateScanChannel(TScanChannel scanChannel);

    public int deleteScanChannelById(Long id);

    public List<TScanChannel> exportScanChannelList(TScanChannel scanChannel);
    public AjaxResult exportFile(TScanChannel scanChannel);
}
